package com.victor.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * poi点上报
 * @author 
 *
 */
@Entity
@Table(name = "poisubmit")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PoiSubmit {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) // 主键类型--自动递增生成
	@Column(name = "id", unique = true, nullable = false, length = 11)
	private Integer id;// 主键id,
	
	@Column(name = "jqid", length = 50)
	private String jqid;//景区id
	
	@Column(name = "jqlocation_lon", length = 50)
	private String jqlocation_lon;// 景区定位经度
	
	@Column(name = "jqlocation_lat", length = 50)
	private String jqlocation_lat;// 景区定位纬度
	
	@Column(name = "name", length = 50)
	private String name;//名称
	
	@Column(name = "note", length = 50)
	private String note;//备注
	
	@Column(name = "time", length = 50)
	private String time;//添加时间
	
	@Column(name = "uid", length = 50)
	private String uid;//提交人id
	
	@Column(name = "flag", length = 50)
	private String flag;//0-未审核  1-景区已审核  2-景区拒绝  3-管理员已审核  4-管理员拒绝
	
	@Transient
	private  List<PoiPhoto> list;
	
}
